package com.share.cloudStorage.recycle.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.share.cloudStorage.recycle.dao.RecycleDao;
import com.share.cloudStorage.recycle.model.Recycle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class RecycleServiceImpl extends ServiceImpl<RecycleDao, Recycle> implements RecycleService {

    @Autowired
    private RecycleDao recycleDao;


    @Override
    public List<Recycle> getRecycleInfo(Integer userId) {
        return recycleDao.getRecycleInfo(userId);
    }
}

